angular.module('app.directives', [])

.directive('ngMetis', ['$timeout', function($timeout) {
    return {
        restrict: 'A',
        link: function($scope, element, attrs) {
            $timeout(function() {
                angular.element(element).metisMenu();
            }, 0);
        }
    }
}])